
package com.example.tests;

// import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.*;
import static org.hamcrest.Matchers.*;

import java.util.Set;

//import org.junit.Assert;
import org.testng.annotations.Test;

import com.example.fw.GroupObject;
import com.example.fw.Groups;

public class GroupModificationTests extends TestBase {
        
        @Test
        public void testFerstGroupCanBeRemoved() throws Exception {   	
    			Groups groups = app.getGroupHelper().getGroups();
    			GroupObject oldGroup = groups.getSomeGroup();
                GroupObject newGroup = new GroupObject(oldGroup);                 
                newGroup.setName("123");
                //Groups oldList = app.getGroupHelper().getGroups();
                //action
                app.getGroupHelper().modifyGroup(oldGroup, newGroup); 
                //verification 
                //Groups newList = app.getGroupHelper().getGroups();
                //verifyGroupModificated(oldList, ???,newList);           
        }

}


